const express = require('express')
const router = express.Router()

const uploadAvatar = require('../router_handle/setting/uploadAvatar')
const downloadAvatar = require('../router_handle/setting/downloadAvatar')
const updateNickname = require('../router_handle/setting/updateNickname')

router.use('/upload/avatar', uploadAvatar)

router.use('/download/avatar', downloadAvatar)

router.use('/update/nickname', updateNickname)

module.exports = router
